(svn r26056) -Fix: a number of possibly uninitialised variables
This commit is contained in:
@@ -154,6 +154,8 @@ bool IsNetworkCompatibleVersion(const char *version);
|
||||
* Everything we need to know about a command to be able to execute it.
|
||||
*/
|
||||
struct CommandPacket : CommandContainer {
|
||||
/** Make sure the pointer is NULL. */
|
||||
CommandPacket() : next(NULL) {}
|
||||
CommandPacket *next; ///< the next command packet (if in queue)
|
||||
CompanyByte company; ///< company that is executing the command
|
||||
uint32 frame; ///< the frame in which this packet is executed
|
||||
|
Reference in New Issue
Block a user