Ignore:
Timestamp:
Jan 22, 2011, 6:02:25 PM (10 years ago)
Author:
sam
Message:

Slightly change the ...Data initialisation in classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/deushax/game.cpp

    r222 r259  
    3535
    3636Game::Game(char const *mapname)
     37  : data(new GameData())
    3738{
    38     data = new GameData();
    3939    data->map = new Map(mapname);
    4040    data->x = data->y = 0;
Note: See TracChangeset for help on using the changeset viewer.