Changeset 9956
- Timestamp:
- Jan 3, 2014, 8:13:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/invader/Invader.cc
r9943 r9956 84 84 level++; 85 85 if (getPlayer() != NULL) 86 { 86 { 87 87 for (int i = 0; i < 7; i++) 88 88 { … … 114 114 return; 115 115 srand(player->getPosition().x + player->getPosition().y); 116 for (int i = 0; i < (3*log10( level) + 1); i++)116 for (int i = 0; i < (3*log10(static_cast<double>(level)) + 1); i++) 117 117 { 118 118 WeakPtr<InvaderEnemy> newPawn;
Note: See TracChangeset
for help on using the changeset viewer.