mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 18:44:12 +02:00
cow stringtable
This commit is contained in:
parent
f9116ef9f7
commit
9f0acad361
7 changed files with 29 additions and 16 deletions
|
|
@ -160,7 +160,7 @@ impl SendPropDefinition {
|
|||
index: SendPropDefinitionIndex,
|
||||
) -> ReadResult<Self> {
|
||||
let prop_type = SendPropType::read(stream)?;
|
||||
let name = stream.read_string(None)?.into();
|
||||
let name = stream.read_string(None)?.to_string().into();
|
||||
let flags = SendPropFlags::read(stream)?;
|
||||
let mut table_name = None;
|
||||
let mut element_count = None;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue