Mercurial > mm7
comparison mm7_6.cpp @ 925:7c798dd88993
m
author | Ritor1 |
---|---|
date | Wed, 01 May 2013 15:09:29 +0600 |
parents | a78f08dbeb88 |
children | fd361e464482 |
comparison
equal
deleted
inserted
replaced
924:a78f08dbeb88 | 925:7c798dd88993 |
---|---|
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 ) |