File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1828,9 +1828,9 @@ int main(int argc, char **argv)
1828
1828
1829
1829
GLfloat scale;
1830
1830
1831
- readEnt (" ship.txt" , gameInfo.shipStaticVerts );
1832
- readEnt (" base.txt" , gameInfo.baseStaticVerts );
1833
- readEnt (" enemy.txt" , gameInfo.enemyStaticVerts );
1831
+ readEnt (DATADIR " ship.txt" , gameInfo.shipStaticVerts );
1832
+ readEnt (DATADIR " base.txt" , gameInfo.baseStaticVerts );
1833
+ readEnt (DATADIR " enemy.txt" , gameInfo.enemyStaticVerts );
1834
1834
1835
1835
// Enter Main loop
1836
1836
while (gameState != GameStateQuit)
@@ -1960,7 +1960,7 @@ int main(int argc, char **argv)
1960
1960
break ;
1961
1961
1962
1962
case SDLK_d:
1963
- saveMap (polys, ents, " verts.txt" );
1963
+ saveMap (polys, ents, DATADIR " verts.txt" );
1964
1964
break ;
1965
1965
1966
1966
case SDLK_s:
You can’t perform that action at this time.
0 commit comments