Code from FT: simplified score access in TPinballComponent.

This commit is contained in:
Muzychenko Andrey committed 2022-08-18 16:23:29 +03:00
1 parent e9a4791322
commit 7feba1e947
24 files changed
+13 -170

No files matched your search

-11
View File
@@ -72,14 +72,3 @@ void TOneway::Collision(TBall* ball, vector2* nextPosition, vector2* direction,
loader::play_sound(SoftHitSoundId, ball, "TOneway2");
}
}
void TOneway::put_scoring(int index, int score)
{
if (index < 6)
Scores[index] = score;
}
int TOneway::get_scoring(int index)
{
return index < 6 ? Scores[index] : 0;
}