mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
CGE2: Reduce the scope of some variables
This commit is contained in:
parent
aabe883dc2
commit
516ad6e843
@ -49,10 +49,6 @@ Sprite *Hero::expand() { // It's very similar to Sprite's expand, but doesn't bo
|
||||
|
||||
if (*_file) {
|
||||
int cnt[kActions];
|
||||
int shpcnt = 0;
|
||||
int seqcnt = 0;
|
||||
int maxnow = 0;
|
||||
int maxnxt = 0;
|
||||
Seq *seq;
|
||||
int section = kIdPhase;
|
||||
|
||||
@ -90,6 +86,10 @@ Sprite *Hero::expand() { // It's very similar to Sprite's expand, but doesn't bo
|
||||
ID id;
|
||||
Common::String line;
|
||||
char tmpStr[kLineMax + 1];
|
||||
int shpcnt = 0;
|
||||
int seqcnt = 0;
|
||||
int maxnow = 0;
|
||||
int maxnxt = 0;
|
||||
|
||||
for (line = sprf.readLine(); !sprf.eos(); line = sprf.readLine()) {
|
||||
if (line.size() == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user