Mercurial > mm7
comparison mm7_6.cpp @ 922:d4ca429eecd4
Some debug functions implemented.
author | Nomad |
---|---|
date | Wed, 01 May 2013 11:39:41 +0200 |
parents | 3696848c0413 |
children | 851697c5c2f2 |
comparison
equal
deleted
inserted
replaced
921:3696848c0413 | 922:d4ca429eecd4 |
---|---|
1247 if ( *v5 ) | 1247 if ( *v5 ) |
1248 { | 1248 { |
1249 if ( v11 ) | 1249 if ( v11 ) |
1250 { | 1250 { |
1251 LOBYTE(v7) = v6->GetLearningPercent(); | 1251 LOBYTE(v7) = v6->GetLearningPercent(); |
1252 v1b = v11 + v11 * v7 / 100; | 1252 v1b = v11 + v11 * (char)v7 / 100; |
1253 //v8 = __CFADD__((int)v1, LODWORD(v6->uExperience)); | 1253 //v8 = __CFADD__((int)v1, LODWORD(v6->uExperience)); |
1254 //need review | 1254 //need review |
1255 LODWORD(v6->uExperience) += v1b; | 1255 LODWORD(v6->uExperience) += v1b; |
1256 //HIDWORD(v6->uExperience) += HIDWORD(v1) + v8; | 1256 //HIDWORD(v6->uExperience) += HIDWORD(v1) + v8; |
1257 if ( v6->uExperience > 4000000000i64 ) | 1257 if ( v6->uExperience > 4000000000i64 ) |