mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Move gameScreen off of the stack and onto the heap
Just so it can be properly used globally like all the other classes.
This commit is contained in:
@@ -43,6 +43,7 @@ Game game;
|
||||
KeyPoll key;
|
||||
mapclass map;
|
||||
entityclass obj;
|
||||
Screen gameScreen;
|
||||
|
||||
bool startinplaytest = false;
|
||||
bool savefileplaytest = false;
|
||||
@@ -121,7 +122,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
NETWORK_init();
|
||||
|
||||
Screen gameScreen;
|
||||
gameScreen.init();
|
||||
|
||||
printf("\t\t\n");
|
||||
printf("\t\t\n");
|
||||
|
||||
Reference in New Issue
Block a user