Added missing parentheses around assignment in while condition.

pull/2838/head
Marc-Antoine Lortie 2019-12-18 07:51:45 -05:00
parent 02c2bfa2b8
commit 87de50e1f3
1 changed files with 1 additions and 1 deletions

View File

@ -764,7 +764,7 @@ void HL1MDLLoader::read_meshes() {
bone_triverts.clear(); bone_triverts.clear();
int l; int l;
while (l = *(ptricmds++)) { while ((l = *(ptricmds++))) {
bool is_triangle_fan = false; bool is_triangle_fan = false;
if (l < 0) { if (l < 0) {